<template>
  <div id="app">
    <el-container style="height: 900px; border: 1px solid #eee">
      <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
      <el-menu :router="true" :default-openeds="['1']">
        <el-submenu index="1">
          <template slot="title"><i class="el-icon-setting"></i>数据管理</template>
          <el-menu-item-group>
            <template slot="title">菜单选项</template>
            <el-menu-item index="/">系统主页</el-menu-item>
            <el-menu-item index="/collectbottons">数据采集</el-menu-item>
            <el-menu-item index="/listbottons">数据匹配</el-menu-item>
            <el-menu-item index="/bottons">数据记录</el-menu-item>
            <el-menu-item index="/chart">数据显示</el-menu-item>
            <el-menu-item index="/loading">数据发送</el-menu-item>
          </el-menu-item-group>
        </el-submenu>
      </el-menu>
    </el-aside>
    
    <el-container>
      <el-header style="text-align: right; font-size: 12px">
        <el-dropdown>
          <i class="el-icon-setting" style="margin-right: 15px"></i>
          <el-dropdown-menu slot="dropdown">
            <el-dropdown-item>菜单选项</el-dropdown-item>
          </el-dropdown-menu>
        </el-dropdown>
        <span>Author@欧楚杨</span>
      </el-header>
      
      <el-main>
        <router-view></router-view>
      </el-main>
      <el-footer>chuyangc © 2022-9999 保留所有权利</el-footer>
    </el-container>
  </el-container>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: []
    }
  },
  created(){
    
  }
};
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}

.el-header {
  background-color: #B3C0D1;
  color: #333;
  line-height: 60px;
}

.el-aside {
  color: #333;
}
</style>
